<template>
  <div class="recharge">
   <p class="rechargeName">广告管理({{count}})</p>
    <div class="inputBox">
      <el-date-picker
        v-model="value6"
        type="daterange"
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期">
      </el-date-picker>
      <div class="btnRight">
        <el-button type="primary" icon="el-icon-download">导出</el-button>
      </div>
    </div>
    <div class="tab">
       <el-table :data="tableData" stripe style="width: 100%">
        <el-table-column prop="date" label="序号" width="180"></el-table-column>
        <el-table-column prop="date" label="充值金额（元）" width=""></el-table-column>
        <el-table-column prop="date" label="充值类型" width=""></el-table-column>
        <el-table-column prop="date" label="到款账户" width=""></el-table-column>
        <el-table-column prop="date" label="充值状态" width=""></el-table-column>
        <el-table-column prop="date" label="充值日期" ></el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      count: 222,
      value6: "",
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄"
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄"
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄"
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄"
        }
      ]
    };
  }
};
</script>

<style lang="stylus" scoped>
.recharge {
  width: 100%;
  height: 800px;
  padding: 25px;
  box-sizing: border-box;
  position: relative;

  .rechargeName {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .inputBox {
    width: 100%;
    position: relative;
    margin-bottom: 20px;

    .btnRight {
      position: absolute;
      right: 100px;
      top: 0;
    }
  }
}
</style>
